home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / video / fly8111-.000 / fly8111- / fly8 / COMMON / vgr.h < prev   
C/C++ Source or Header  |  1979-12-31  |  898b  |  27 lines

  1. /* --------------------------------- vgr.h ---------------------------------- */
  2.  
  3. /* This is part of the flight simulator 'fly8'.
  4.  * Author: Eyal Lebedinsky (eyal@ise.canberra.edu.au).
  5. */
  6.  
  7. /* header for linear buffer graphics routines, vgr.c.
  8. */
  9.  
  10. /* vgr.c */
  11. extern int    FAR vSetWriteMode (int mode);
  12. extern int    FAR vSetActive (int page);
  13. extern int    FAR vSetVisual (int page);
  14. extern int    FAR vSetMem (Uchar *vmem);
  15. extern int    FAR vSetSize (Uint width, Uint height, Uint xbytes);
  16. extern void    FAR vInit (Uchar *vmem, Uint width, Uint height, Uint xbytes,
  17.     void (FAR *setbank) (int bank),
  18.     int  (FAR *setbase) (Ulong base));
  19. extern void    FAR vMoveTo (Uint x1, Uint y1);
  20. extern void    FAR vDrawTo (Uint x2, Uint y2, Uint c);
  21. extern void    FAR vEllipse (Uint xc, Uint yc, Uint a, Uint b, Uint c);
  22. extern Ulong    FAR vStats[2048];
  23.  
  24. /* grstat.c */
  25. extern Ulong    FAR GrStats[2048];
  26. extern void    FAR LogStats (void);
  27.